package com.zj.core.bean

import java.io.Serializable

/**
 * 日期：2019年4月13日
 * 公司：北京子杰宝贝科技有限公司
 * 地址：北京市朝阳区朝阳农场
 * 开发者：达选文
 *
 *
 * 主体功能：语音模板实体类
 */

class VoiceTemplateBean : Serializable {

    /**
     * ver : 1
     * src : 1
     * dat : {"pagesize":10,"paramlist":{"hospitalid":"","meaning":"入院","departmentid":"","orderby":"id desc"},"pageindex":1}
     * cmd : select
     */
    var ver = "1"
    var src = "1"
    var dat: DatEntity? = null
    var cmd = "select "

    class DatEntity {
        /**
         * pagesize : 10
         * paramlist : {"hospitalid":"","meaning":"入院","departmentid":"","orderby":"id desc"}
         * pageindex : 1
         */
        var pagesize = 500
        var paramlist: ParamlistEntity? = null
        var pageindex = 1

        class ParamlistEntity {
            /**
             * hospitalid :
             * meaning : 入院
             * departmentid :
             * orderby : id desc
             */
            var hospitalid: String? = null
            var meaning: String? = null
            var departmentid: String? = null
            var orderby = "id asc"
        }
    }

    class VoiceWordBean : Serializable {
        /**
         * ret : 10000
         * msg : 查询成功
         * ver : 1
         * dat : {"total":1,"pages":1,"pageSize":10,"pageindex":1,"rows":[{"wouldword":"","createtime":"2019-04-11 00:00:00","hospitalid":"qjfc","meaning":"入院模板","departmentid":"fuchanke","id":1}]}
         */
        var ret: String? = null
        var msg: String? = null
        var ver: String? = null
        var dat: DatEntity? = null

        inner class DatEntity {
            /**
             * total : 1
             * pages : 1
             * pageSize : 10
             * pageindex : 1
             * rows : [{"wouldword":"","createtime":"2019-04-11 00:00:00","hospitalid":"qjfc","meaning":"入院模板","departmentid":"fuchanke","id":1}]
             */
            var total: Int = 0
            var pages: Int = 0
            var pageSize: Int = 0
            var pageindex: Int = 0
            var rows: ArrayList<RowsEntity>? = null

            inner class RowsEntity {
                /**
                 * wouldword :
                 * createtime : 2019-04-11 00:00:00
                 * hospitalid : qjfc
                 * meaning : 入院模板
                 * departmentid : fuchanke
                 * id : 1
                 */
                var wouldword: String? = null
                var createtime: String? = null
                var hospitalid: String? = null
                var meaning: String? = null
                var departmentid: String? = null
                var id: Int = 0
                var wouldid:String?=null
            }
        }
    }
}
